#! /bin/bash

mkdir -p output

for line in $(ls . | grep jay$ | grep -v fail);
do
	cat $line | ./formatter output/$line.html;
done;

for line in $(ls . | grep jay$ | grep fail);
do
	cat $line | ./formatter 2> output/$line.out;
done;

rm out.html